/* 由 Snowball 2.2.0 生成 - https://snowballstem.org/ */

#include "header.h"

#ifdef __cplusplus
extern "C" {
#endif
extern int hungarian_UTF_8_stem(struct SN_env * fc_z);
#ifdef __cplusplus
}
#endif
static int fc_r_double(struct SN_env * fc_z);
static int fc_r_undouble(struct SN_env * fc_z);
static int fc_r_factive(struct SN_env * fc_z);
static int fc_r_instrum(struct SN_env * fc_z);
static int fc_r_plur_owner(struct SN_env * fc_z);
static int fc_r_sing_owner(struct SN_env * fc_z);
static int fc_r_owned(struct SN_env * fc_z);
static int fc_r_plural(struct SN_env * fc_z);
static int fc_r_case_other(struct SN_env * fc_z);
static int fc_r_case_special(struct SN_env * fc_z);
static int fc_r_case(struct SN_env * fc_z);
static int fc_r_v_ending(struct SN_env * fc_z);
static int fc_r_R1(struct SN_env * fc_z);
static int fc_r_mark_regions(struct SN_env * fc_z);
#ifdef __cplusplus
extern "C" {
#endif


extern struct SN_env * hungarian_UTF_8_create_env(void);
extern void hungarian_UTF_8_close_env(struct SN_env * fc_z);


#ifdef __cplusplus
}
#endif
static const symbol s_0_0[2] = { 'c', 's' };
static const symbol s_0_1[3] = { 'd', 'z', 's' };
static const symbol s_0_2[2] = { 'g', 'y' };
static const symbol s_0_3[2] = { 'l', 'y' };
static const symbol s_0_4[2] = { 'n', 'y' };
static const symbol s_0_5[2] = { 's', 'z' };
static const symbol s_0_6[2] = { 't', 'y' };
static const symbol s_0_7[2] = { 'z', 's' };

static const struct among a_0[8] =
{
{ 2, s_0_0, -1, -1, 0},
{ 3, s_0_1, -1, -1, 0},
{ 2, s_0_2, -1, -1, 0},
{ 2, s_0_3, -1, -1, 0},
{ 2, s_0_4, -1, -1, 0},
{ 2, s_0_5, -1, -1, 0},
{ 2, s_0_6, -1, -1, 0},
{ 2, s_0_7, -1, -1, 0}
};

static const symbol s_1_0[2] = { 0xC3, 0xA1 };
static const symbol s_1_1[2] = { 0xC3, 0xA9 };

static const struct among a_1[2] =
{
{ 2, s_1_0, -1, 1, 0},
{ 2, s_1_1, -1, 2, 0}
};

static const symbol s_2_0[2] = { 'b', 'b' };
static const symbol s_2_1[2] = { 'c', 'c' };
static const symbol s_2_2[2] = { 'd', 'd' };
static const symbol s_2_3[2] = { 'f', 'f' };
static const symbol s_2_4[2] = { 'g', 'g' };
static const symbol s_2_5[2] = { 'j', 'j' };
static const symbol s_2_6[2] = { 'k', 'k' };
static const symbol s_2_7[2] = { 'l', 'l' };
static const symbol s_2_8[2] = { 'm', 'm' };
static const symbol s_2_9[2] = { 'n', 'n' };
static const symbol s_2_10[2] = { 'p', 'p' };
static const symbol s_2_11[2] = { 'r', 'r' };
static const symbol s_2_12[3] = { 'c', 'c', 's' };
static const symbol s_2_13[2] = { 's', 's' };
static const symbol s_2_14[3] = { 'z', 'z', 's' };
static const symbol s_2_15[2] = { 't', 't' };
static const symbol s_2_16[2] = { 'v', 'v' };
static const symbol s_2_17[3] = { 'g', 'g', 'y' };
static const symbol s_2_18[3] = { 'l', 'l', 'y' };
static const symbol s_2_19[3] = { 'n', 'n', 'y' };
static const symbol s_2_20[3] = { 't', 't', 'y' };
static const symbol s_2_21[3] = { 's', 's', 'z' };
static const symbol s_2_22[2] = { 'z', 'z' };

static const struct among a_2[23] =
{
{ 2, s_2_0, -1, -1, 0},
{ 2, s_2_1, -1, -1, 0},
{ 2, s_2_2, -1, -1, 0},
{ 2, s_2_3, -1, -1, 0},
{ 2, s_2_4, -1, -1, 0},
{ 2, s_2_5, -1, -1, 0},
{ 2, s_2_6, -1, -1, 0},
{ 2, s_2_7, -1, -1, 0},
{ 2, s_2_8, -1, -1, 0},
{ 2, s_2_9, -1, -1, 0},
{ 2, s_2_10, -1, -1, 0},
{ 2, s_2_11, -1, -1, 0},
{ 3, s_2_12, -1, -1, 0},
{ 2, s_2_13, -1, -1, 0},
{ 3, s_2_14, -1, -1, 0},
{ 2, s_2_15, -1, -1, 0},
{ 2, s_2_16, -1, -1, 0},
{ 3, s_2_17, -1, -1, 0},
{ 3, s_2_18, -1, -1, 0},
{ 3, s_2_19, -1, -1, 0},
{ 3, s_2_20, -1, -1, 0},
{ 3, s_2_21, -1, -1, 0},
{ 2, s_2_22, -1, -1, 0}
};

static const symbol s_3_0[2] = { 'a', 'l' };
static const symbol s_3_1[2] = { 'e', 'l' };

static const struct among a_3[2] =
{
{ 2, s_3_0, -1, 1, 0},
{ 2, s_3_1, -1, 1, 0}
};

static const symbol s_4_0[2] = { 'b', 'a' };
static const symbol s_4_1[2] = { 'r', 'a' };
static const symbol s_4_2[2] = { 'b', 'e' };
static const symbol s_4_3[2] = { 'r', 'e' };
static const symbol s_4_4[2] = { 'i', 'g' };
static const symbol s_4_5[3] = { 'n', 'a', 'k' };
static const symbol s_4_6[3] = { 'n', 'e', 'k' };
static const symbol s_4_7[3] = { 'v', 'a', 'l' };
static const symbol s_4_8[3] = { 'v', 'e', 'l' };
static const symbol s_4_9[2] = { 'u', 'l' };
static const symbol s_4_10[4] = { 'b', 0xC5, 0x91, 'l' };
static const symbol s_4_11[4] = { 'r', 0xC5, 0x91, 'l' };
static const symbol s_4_12[4] = { 't', 0xC5, 0x91, 'l' };
static const symbol s_4_13[4] = { 'n', 0xC3, 0xA1, 'l' };
static const symbol s_4_14[4] = { 'n', 0xC3, 0xA9, 'l' };
static const symbol s_4_15[4] = { 'b', 0xC3, 0xB3, 'l' };
static const symbol s_4_16[4] = { 'r', 0xC3, 0xB3, 'l' };
static const symbol s_4_17[4] = { 't', 0xC3, 0xB3, 'l' };
static const symbol s_4_18[3] = { 0xC3, 0xBC, 'l' };
static const symbol s_4_19[1] = { 'n' };
static const symbol s_4_20[2] = { 'a', 'n' };
static const symbol s_4_21[3] = { 'b', 'a', 'n' };
static const symbol s_4_22[2] = { 'e', 'n' };
static const symbol s_4_23[3] = { 'b', 'e', 'n' };
static const symbol s_4_24[7] = { 'k', 0xC3, 0xA9, 'p', 'p', 'e', 'n' };
static const symbol s_4_25[2] = { 'o', 'n' };
static const symbol s_4_26[3] = { 0xC3, 0xB6, 'n' };
static const symbol s_4_27[5] = { 'k', 0xC3, 0xA9, 'p', 'p' };
static const symbol s_4_28[3] = { 'k', 'o', 'r' };
static const symbol s_4_29[1] = { 't' };
static const symbol s_4_30[2] = { 'a', 't' };
static const symbol s_4_31[2] = { 'e', 't' };
static const symbol s_4_32[5] = { 'k', 0xC3, 0xA9, 'n', 't' };
static const symbol s_4_33[7] = { 'a', 'n', 'k', 0xC3, 0xA9, 'n', 't' };
static const symbol s_4_34[7] = { 'e', 'n', 'k', 0xC3, 0xA9, 'n', 't' };
static const symbol s_4_35[7] = { 'o', 'n', 'k', 0xC3, 0xA9, 'n', 't' };
static const symbol s_4_36[2] = { 'o', 't' };
static const symbol s_4_37[4] = { 0xC3, 0xA9, 'r', 't' };
static const symbol s_4_38[3] = { 0xC3, 0xB6, 't' };
static const symbol s_4_39[3] = { 'h', 'e', 'z' };
static const symbol s_4_40[3] = { 'h', 'o', 'z' };
static const symbol s_4_41[4] = { 'h', 0xC3, 0xB6, 'z' };
static const symbol s_4_42[3] = { 'v', 0xC3, 0xA1 };
static const symbol s_4_43[3] = { 'v', 0xC3, 0xA9 };

static const struct among a_4[44] =
{
{ 2, s_4_0, -1, -1, 0},
{ 2, s_4_1, -1, -1, 0},
{ 2, s_4_2, -1, -1, 0},
{ 2, s_4_3, -1, -1, 0},
{ 2, s_4_4, -1, -1, 0},
{ 3, s_4_5, -1, -1, 0},
{ 3, s_4_6, -1, -1, 0},
{ 3, s_4_7, -1, -1, 0},
{ 3, s_4_8, -1, -1, 0},
{ 2, s_4_9, -1, -1, 0},
{ 4, s_4_10, -1, -1, 0},
{ 4, s_4_11, -1, -1, 0},
{ 4, s_4_12, -1, -1, 0},
{ 4, s_4_13, -1, -1, 0},
{ 4, s_4_14, -1, -1, 0},
{ 4, s_4_15, -1, -1, 0},
{ 4, s_4_16, -1, -1, 0},
{ 4, s_4_17, -1, -1, 0},
{ 3, s_4_18, -1, -1, 0},
{ 1, s_4_19, -1, -1, 0},
{ 2, s_4_20, 19, -1, 0},
{ 3, s_4_21, 20, -1, 0},
{ 2, s_4_22, 19, -1, 0},
{ 3, s_4_23, 22, -1, 0},
{ 7, s_4_24, 22, -1, 0},
{ 2, s_4_25, 19, -1, 0},
{ 3, s_4_26, 19, -1, 0},
{ 5, s_4_27, -1, -1, 0},
{ 3, s_4_28, -1, -1, 0},
{ 1, s_4_29, -1, -1, 0},
{ 2, s_4_30, 29, -1, 0},
{ 2, s_4_31, 29, -1, 0},
{ 5, s_4_32, 29, -1, 0},
{ 7, s_4_33, 32, -1, 0},
{ 7, s_4_34, 32, -1, 0},
{ 7, s_4_35, 32, -1, 0},
{ 2, s_4_36, 29, -1, 0},
{ 4, s_4_37, 29, -1, 0},
{ 3, s_4_38, 29, -1, 0},
{ 3, s_4_39, -1, -1, 0},
{ 3, s_4_40, -1, -1, 0},
{ 4, s_4_41, -1, -1, 0},
{ 3, s_4_42, -1, -1, 0},
{ 3, s_4_43, -1, -1, 0}
};

static const symbol s_5_0[3] = { 0xC3, 0xA1, 'n' };
static const symbol s_5_1[3] = { 0xC3, 0xA9, 'n' };
static const symbol s_5_2[8] = { 0xC3, 0xA1, 'n', 'k', 0xC3, 0xA9, 'n', 't' };

static const struct among a_5[3] =
{
{ 3, s_5_0, -1, 2, 0},
{ 3, s_5_1, -1, 1, 0},
{ 8, s_5_2, -1, 2, 0}
};

static const symbol s_6_0[4] = { 's', 't', 'u', 'l' };
static const symbol s_6_1[5] = { 'a', 's', 't', 'u', 'l' };
static const symbol s_6_2[6] = { 0xC3, 0xA1, 's', 't', 'u', 'l' };
static const symbol s_6_3[5] = { 's', 't', 0xC3, 0xBC, 'l' };
static const symbol s_6_4[6] = { 'e', 's', 't', 0xC3, 0xBC, 'l' };
static const symbol s_6_5[7] = { 0xC3, 0xA9, 's', 't', 0xC3, 0xBC, 'l' };

static const struct among a_6[6] =
{
{ 4, s_6_0, -1, 1, 0},
{ 5, s_6_1, 0, 1, 0},
{ 6, s_6_2, 0, 2, 0},
{ 5, s_6_3, -1, 1, 0},
{ 6, s_6_4, 3, 1, 0},
{ 7, s_6_5, 3, 3, 0}
};

static const symbol s_7_0[2] = { 0xC3, 0xA1 };
static const symbol s_7_1[2] = { 0xC3, 0xA9 };

static const struct among a_7[2] =
{
{ 2, s_7_0, -1, 1, 0},
{ 2, s_7_1, -1, 1, 0}
};

static const symbol s_8_0[1] = { 'k' };
static const symbol s_8_1[2] = { 'a', 'k' };
static const symbol s_8_2[2] = { 'e', 'k' };
static const symbol s_8_3[2] = { 'o', 'k' };
static const symbol s_8_4[3] = { 0xC3, 0xA1, 'k' };
static const symbol s_8_5[3] = { 0xC3, 0xA9, 'k' };
static const symbol s_8_6[3] = { 0xC3, 0xB6, 'k' };

static const struct among a_8[7] =
{
{ 1, s_8_0, -1, 3, 0},
{ 2, s_8_1, 0, 3, 0},
{ 2, s_8_2, 0, 3, 0},
{ 2, s_8_3, 0, 3, 0},
{ 3, s_8_4, 0, 1, 0},
{ 3, s_8_5, 0, 2, 0},
{ 3, s_8_6, 0, 3, 0}
};

static const symbol s_9_0[3] = { 0xC3, 0xA9, 'i' };
static const symbol s_9_1[5] = { 0xC3, 0xA1, 0xC3, 0xA9, 'i' };
static const symbol s_9_2[5] = { 0xC3, 0xA9, 0xC3, 0xA9, 'i' };
static const symbol s_9_3[2] = { 0xC3, 0xA9 };
static const symbol s_9_4[3] = { 'k', 0xC3, 0xA9 };
static const symbol s_9_5[4] = { 'a', 'k', 0xC3, 0xA9 };
static const symbol s_9_6[4] = { 'e', 'k', 0xC3, 0xA9 };
static const symbol s_9_7[4] = { 'o', 'k', 0xC3, 0xA9 };
static const symbol s_9_8[5] = { 0xC3, 0xA1, 'k', 0xC3, 0xA9 };
static const symbol s_9_9[5] = { 0xC3, 0xA9, 'k', 0xC3, 0xA9 };
static const symbol s_9_10[5] = { 0xC3, 0xB6, 'k', 0xC3, 0xA9 };
static const symbol s_9_11[4] = { 0xC3, 0xA9, 0xC3, 0xA9 };

static const struct among a_9[12] =
{
{ 3, s_9_0, -1, 1, 0},
{ 5, s_9_1, 0, 3, 0},
{ 5, s_9_2, 0, 2, 0},
{ 2, s_9_3, -1, 1, 0},
{ 3, s_9_4, 3, 1, 0},
{ 4, s_9_5, 4, 1, 0},
{ 4, s_9_6, 4, 1, 0},
{ 4, s_9_7, 4, 1, 0},
{ 5, s_9_8, 4, 3, 0},
{ 5, s_9_9, 4, 2, 0},
{ 5, s_9_10, 4, 1, 0},
{ 4, s_9_11, 3, 2, 0}
};

static const symbol s_10_0[1] = { 'a' };
static const symbol s_10_1[2] = { 'j', 'a' };
static const symbol s_10_2[1] = { 'd' };
static const symbol s_10_3[2] = { 'a', 'd' };
static const symbol s_10_4[2] = { 'e', 'd' };
static const symbol s_10_5[2] = { 'o', 'd' };
static const symbol s_10_6[3] = { 0xC3, 0xA1, 'd' };
static const symbol s_10_7[3] = { 0xC3, 0xA9, 'd' };
static const symbol s_10_8[3] = { 0xC3, 0xB6, 'd' };
static const symbol s_10_9[1] = { 'e' };
static const symbol s_10_10[2] = { 'j', 'e' };
static const symbol s_10_11[2] = { 'n', 'k' };
static const symbol s_10_12[3] = { 'u', 'n', 'k' };
static const symbol s_10_13[4] = { 0xC3, 0xA1, 'n', 'k' };
static const symbol s_10_14[4] = { 0xC3, 0xA9, 'n', 'k' };
static const symbol s_10_15[4] = { 0xC3, 0xBC, 'n', 'k' };
static const symbol s_10_16[2] = { 'u', 'k' };
static const symbol s_10_17[3] = { 'j', 'u', 'k' };
static const symbol s_10_18[5] = { 0xC3, 0xA1, 'j', 'u', 'k' };
static const symbol s_10_19[3] = { 0xC3, 0xBC, 'k' };
static const symbol s_10_20[4] = { 'j', 0xC3, 0xBC, 'k' };
static const symbol s_10_21[6] = { 0xC3, 0xA9, 'j', 0xC3, 0xBC, 'k' };
static const symbol s_10_22[1] = { 'm' };
static const symbol s_10_23[2] = { 'a', 'm' };
static const symbol s_10_24[2] = { 'e', 'm' };
static const symbol s_10_25[2] = { 'o', 'm' };
static const symbol s_10_26[3] = { 0xC3, 0xA1, 'm' };
static const symbol s_10_27[3] = { 0xC3, 0xA9, 'm' };
static const symbol s_10_28[1] = { 'o' };
static const symbol s_10_29[2] = { 0xC3, 0xA1 };
static const symbol s_10_30[2] = { 0xC3, 0xA9 };

static const struct among a_10[31] =
{
{ 1, s_10_0, -1, 1, 0},
{ 2, s_10_1, 0, 1, 0},
{ 1, s_10_2, -1, 1, 0},
{ 2, s_10_3, 2, 1, 0},
{ 2, s_10_4, 2, 1, 0},
{ 2, s_10_5, 2, 1, 0},
{ 3, s_10_6, 2, 2, 0},
{ 3, s_10_7, 2, 3, 0},
{ 3, s_10_8, 2, 1, 0},
{ 1, s_10_9, -1, 1, 0},
{ 2, s_10_10, 9, 1, 0},
{ 2, s_10_11, -1, 1, 0},
{ 3, s_10_12, 11, 1, 0},
{ 4, s_10_13, 11, 2, 0},
{ 4, s_10_14, 11, 3, 0},
{ 4, s_10_15, 11, 1, 0},
{ 2, s_10_16, -1, 1, 0},
{ 3, s_10_17, 16, 1, 0},
{ 5, s_10_18, 17, 2, 0},
{ 3, s_10_19, -1, 1, 0},
{ 4, s_10_20, 19, 1, 0},
{ 6, s_10_21, 20, 3, 0},
{ 1, s_10_22, -1, 1, 0},
{ 2, s_10_23, 22, 1, 0},
{ 2, s_10_24, 22, 1, 0},
{ 2, s_10_25, 22, 1, 0},
{ 3, s_10_26, 22, 2, 0},
{ 3, s_10_27, 22, 3, 0},
{ 1, s_10_28, -1, 1, 0},
{ 2, s_10_29, -1, 2, 0},
{ 2, s_10_30, -1, 3, 0}
};

static const symbol s_11_0[2] = { 'i', 'd' };
static const symbol s_11_1[3] = { 'a', 'i', 'd' };
static const symbol s_11_2[4] = { 'j', 'a', 'i', 'd' };
static const symbol s_11_3[3] = { 'e', 'i', 'd' };
static const symbol s_11_4[4] = { 'j', 'e', 'i', 'd' };
static const symbol s_11_5[4] = { 0xC3, 0xA1, 'i', 'd' };
static const symbol s_11_6[4] = { 0xC3, 0xA9, 'i', 'd' };
static const symbol s_11_7[1] = { 'i' };
static const symbol s_11_8[2] = { 'a', 'i' };
static const symbol s_11_9[3] = { 'j', 'a', 'i' };
static const symbol s_11_10[2] = { 'e', 'i' };
static const symbol s_11_11[3] = { 'j', 'e', 'i' };
static const symbol s_11_12[3] = { 0xC3, 0xA1, 'i' };
static const symbol s_11_13[3] = { 0xC3, 0xA9, 'i' };
static const symbol s_11_14[4] = { 'i', 't', 'e', 'k' };
static const symbol s_11_15[5] = { 'e', 'i', 't', 'e', 'k' };
static const symbol s_11_16[6] = { 'j', 'e', 'i', 't', 'e', 'k' };
static const symbol s_11_17[6] = { 0xC3, 0xA9, 'i', 't', 'e', 'k' };
static const symbol s_11_18[2] = { 'i', 'k' };
static const symbol s_11_19[3] = { 'a', 'i', 'k' };
static const symbol s_11_20[4] = { 'j', 'a', 'i', 'k' };
static const symbol s_11_21[3] = { 'e', 'i', 'k' };
static const symbol s_11_22[4] = { 'j', 'e', 'i', 'k' };
static const symbol s_11_23[4] = { 0xC3, 0xA1, 'i', 'k' };
static const symbol s_11_24[4] = { 0xC3, 0xA9, 'i', 'k' };
static const symbol s_11_25[3] = { 'i', 'n', 'k' };
static const symbol s_11_26[4] = { 'a', 'i', 'n', 'k' };
static const symbol s_11_27[5] = { 'j', 'a', 'i', 'n', 'k' };
static const symbol s_11_28[4] = { 'e', 'i', 'n', 'k' };
static const symbol s_11_29[5] = { 'j', 'e', 'i', 'n', 'k' };
static const symbol s_11_30[5] = { 0xC3, 0xA1, 'i', 'n', 'k' };
static const symbol s_11_31[5] = { 0xC3, 0xA9, 'i', 'n', 'k' };
static const symbol s_11_32[5] = { 'a', 'i', 't', 'o', 'k' };
static const symbol s_11_33[6] = { 'j', 'a', 'i', 't', 'o', 'k' };
static const symbol s_11_34[6] = { 0xC3, 0xA1, 'i', 't', 'o', 'k' };
static const symbol s_11_35[2] = { 'i', 'm' };
static const symbol s_11_36[3] = { 'a', 'i', 'm' };
static const symbol s_11_37[4] = { 'j', 'a', 'i', 'm' };
static const symbol s_11_38[3] = { 'e', 'i', 'm' };
static const symbol s_11_39[4] = { 'j', 'e', 'i', 'm' };
static const symbol s_11_40[4] = { 0xC3, 0xA1, 'i', 'm' };
static const symbol s_11_41[4] = { 0xC3, 0xA9, 'i', 'm' };

static const struct among a_11[42] =
{
{ 2, s_11_0, -1, 1, 0},
{ 3, s_11_1, 0, 1, 0},
{ 4, s_11_2, 1, 1, 0},
{ 3, s_11_3, 0, 1, 0},
{ 4, s_11_4, 3, 1, 0},
{ 4, s_11_5, 0, 2, 0},
{ 4, s_11_6, 0, 3, 0},
{ 1, s_11_7, -1, 1, 0},
{ 2, s_11_8, 7, 1, 0},
{ 3, s_11_9, 8, 1, 0},
{ 2, s_11_10, 7, 1, 0},
{ 3, s_11_11, 10, 1, 0},
{ 3, s_11_12, 7, 2, 0},
{ 3, s_11_13, 7, 3, 0},
{ 4, s_11_14, -1, 1, 0},
{ 5, s_11_15, 14, 1, 0},
{ 6, s_11_16, 15, 1, 0},
{ 6, s_11_17, 14, 3, 0},
{ 2, s_11_18, -1, 1, 0},
{ 3, s_11_19, 18, 1, 0},
{ 4, s_11_20, 19, 1, 0},
{ 3, s_11_21, 18, 1, 0},
{ 4, s_11_22, 21, 1, 0},
{ 4, s_11_23, 18, 2, 0},
{ 4, s_11_24, 18, 3, 0},
{ 3, s_11_25, -1, 1, 0},
{ 4, s_11_26, 25, 1, 0},
{ 5, s_11_27, 26, 1, 0},
{ 4, s_11_28, 25, 1, 0},
{ 5, s_11_29, 28, 1, 0},
{ 5, s_11_30, 25, 2, 0},
{ 5, s_11_31, 25, 3, 0},
{ 5, s_11_32, -1, 1, 0},
{ 6, s_11_33, 32, 1, 0},
{ 6, s_11_34, -1, 2, 0},
{ 2, s_11_35, -1, 1, 0},
{ 3, s_11_36, 35, 1, 0},
{ 4, s_11_37, 36, 1, 0},
{ 3, s_11_38, 35, 1, 0},
{ 4, s_11_39, 38, 1, 0},
{ 4, s_11_40, 35, 2, 0},
{ 4, s_11_41, 35, 3, 0}
};

static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17, 36, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1 };

static const symbol s_0[] = { 'a' };
static const symbol s_1[] = { 'e' };
static const symbol s_2[] = { 'e' };
static const symbol s_3[] = { 'a' };
static const symbol s_4[] = { 'a' };
static const symbol s_5[] = { 'e' };
static const symbol s_6[] = { 'a' };
static const symbol s_7[] = { 'e' };
static const symbol s_8[] = { 'e' };
static const symbol s_9[] = { 'a' };
static const symbol s_10[] = { 'a' };
static const symbol s_11[] = { 'e' };
static const symbol s_12[] = { 'a' };
static const symbol s_13[] = { 'e' };

static int fc_r_mark_regions(struct SN_env * fc_z) {
    fc_z->I[0] = fc_z->l;
    {   int fc_c1 = fc_z->c;
        if (in_grouping_U(fc_z, g_v, 97, 369, 0)) goto lab1;
        if (in_grouping_U(fc_z, g_v, 97, 369, 1) < 0) goto lab1;
        {   int fc_c2 = fc_z->c;
            if (fc_z->c + 1 >= fc_z->l || fc_z->p[fc_z->c + 1] >> 5 != 3 || !((101187584 >> (fc_z->p[fc_z->c + 1] & 0x1f)) & 1)) goto lab3;
            if (!(find_among(fc_z, a_0, 8))) goto lab3;
            goto lab2;
        lab3:
            fc_z->c = fc_c2;
            {   int fc_ret = skip_utf8(fc_z->p, fc_z->c, fc_z->l, 1);
                if (fc_ret < 0) goto lab1;
                fc_z->c = fc_ret;
            }
        }
    lab2:
        fc_z->I[0] = fc_z->c;
        goto lab0;
    lab1:
        fc_z->c = fc_c1;
        if (out_grouping_U(fc_z, g_v, 97, 369, 0)) return 0;
        {   
            int fc_ret = out_grouping_U(fc_z, g_v, 97, 369, 1);
            if (fc_ret < 0) return 0;
            fc_z->c += fc_ret;
        }
        fc_z->I[0] = fc_z->c;
    }
lab0:
    return 1;
}

static int fc_r_R1(struct SN_env * fc_z) {
    if (!(fc_z->I[0] <= fc_z->c)) return 0;
    return 1;
}

static int fc_r_v_ending(struct SN_env * fc_z) {
    int fc_among_var;
    fc_z->ket = fc_z->c;
    if (fc_z->c - 1 <= fc_z->lb || (fc_z->p[fc_z->c - 1] != 161 && fc_z->p[fc_z->c - 1] != 169)) return 0;
    fc_among_var = find_among_b(fc_z, a_1, 2);
    if (!(fc_among_var)) return 0;
    fc_z->bra = fc_z->c;
    {   int fc_ret = fc_r_R1(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    switch (fc_among_var) {
        case 1:
            {   int fc_ret = slice_from_s(fc_z, 1, s_0);
                if (fc_ret < 0) return fc_ret;
            }
            break;
        case 2:
            {   int fc_ret = slice_from_s(fc_z, 1, s_1);
                if (fc_ret < 0) return fc_ret;
            }
            break;
    }
    return 1;
}

static int fc_r_double(struct SN_env * fc_z) {
    {   int fc_m_test1 = fc_z->l - fc_z->c;
        if (fc_z->c - 1 <= fc_z->lb || fc_z->p[fc_z->c - 1] >> 5 != 3 || !((106790108 >> (fc_z->p[fc_z->c - 1] & 0x1f)) & 1)) return 0;
        if (!(find_among_b(fc_z, a_2, 23))) return 0;
        fc_z->c = fc_z->l - fc_m_test1;
    }
    return 1;
}

static int fc_r_undouble(struct SN_env * fc_z) {
    {   int fc_ret = skip_b_utf8(fc_z->p, fc_z->c, fc_z->lb, 1);
        if (fc_ret < 0) return 0;
        fc_z->c = fc_ret;
    }
    fc_z->ket = fc_z->c;
    {   int fc_ret = skip_b_utf8(fc_z->p, fc_z->c, fc_z->lb, 1);
        if (fc_ret < 0) return 0;
        fc_z->c = fc_ret;
    }
    fc_z->bra = fc_z->c;
    {   int fc_ret = slice_del(fc_z);
        if (fc_ret < 0) return fc_ret;
    }
    return 1;
}

static int fc_r_instrum(struct SN_env * fc_z) {
    fc_z->ket = fc_z->c;
    if (fc_z->c - 1 <= fc_z->lb || fc_z->p[fc_z->c - 1] != 108) return 0;
    if (!(find_among_b(fc_z, a_3, 2))) return 0;
    fc_z->bra = fc_z->c;
    {   int fc_ret = fc_r_R1(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    {   int fc_ret = fc_r_double(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    {   int fc_ret = slice_del(fc_z);
        if (fc_ret < 0) return fc_ret;
    }
    {   int fc_ret = fc_r_undouble(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    return 1;
}

static int fc_r_case(struct SN_env * fc_z) {
    fc_z->ket = fc_z->c;
    if (!(find_among_b(fc_z, a_4, 44))) return 0;
    fc_z->bra = fc_z->c;
    {   int fc_ret = fc_r_R1(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    {   int fc_ret = slice_del(fc_z);
        if (fc_ret < 0) return fc_ret;
    }
    {   int fc_ret = fc_r_v_ending(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    return 1;
}

static int fc_r_case_special(struct SN_env * fc_z) {
    int fc_among_var;
    fc_z->ket = fc_z->c;
    if (fc_z->c - 2 <= fc_z->lb || (fc_z->p[fc_z->c - 1] != 110 && fc_z->p[fc_z->c - 1] != 116)) return 0;
    fc_among_var = find_among_b(fc_z, a_5, 3);
    if (!(fc_among_var)) return 0;
    fc_z->bra = fc_z->c;
    {   int fc_ret = fc_r_R1(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    switch (fc_among_var) {
        case 1:
            {   int fc_ret = slice_from_s(fc_z, 1, s_2);
                if (fc_ret < 0) return fc_ret;
            }
            break;
        case 2:
            {   int fc_ret = slice_from_s(fc_z, 1, s_3);
                if (fc_ret < 0) return fc_ret;
            }
            break;
    }
    return 1;
}

static int fc_r_case_other(struct SN_env * fc_z) {
    int fc_among_var;
    fc_z->ket = fc_z->c;
    if (fc_z->c - 3 <= fc_z->lb || fc_z->p[fc_z->c - 1] != 108) return 0;
    fc_among_var = find_among_b(fc_z, a_6, 6);
    if (!(fc_among_var)) return 0;
    fc_z->bra = fc_z->c;
    {   int fc_ret = fc_r_R1(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    switch (fc_among_var) {
        case 1:
            {   int fc_ret = slice_del(fc_z);
                if (fc_ret < 0) return fc_ret;
            }
            break;
        case 2:
            {   int fc_ret = slice_from_s(fc_z, 1, s_4);
                if (fc_ret < 0) return fc_ret;
            }
            break;
        case 3:
            {   int fc_ret = slice_from_s(fc_z, 1, s_5);
                if (fc_ret < 0) return fc_ret;
            }
            break;
    }
    return 1;
}

static int fc_r_factive(struct SN_env * fc_z) {
    fc_z->ket = fc_z->c;
    if (fc_z->c - 1 <= fc_z->lb || (fc_z->p[fc_z->c - 1] != 161 && fc_z->p[fc_z->c - 1] != 169)) return 0;
    if (!(find_among_b(fc_z, a_7, 2))) return 0;
    fc_z->bra = fc_z->c;
    {   int fc_ret = fc_r_R1(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    {   int fc_ret = fc_r_double(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    {   int fc_ret = slice_del(fc_z);
        if (fc_ret < 0) return fc_ret;
    }
    {   int fc_ret = fc_r_undouble(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    return 1;
}

static int fc_r_plural(struct SN_env * fc_z) {
    int fc_among_var;
    fc_z->ket = fc_z->c;
    if (fc_z->c <= fc_z->lb || fc_z->p[fc_z->c - 1] != 107) return 0;
    fc_among_var = find_among_b(fc_z, a_8, 7);
    if (!(fc_among_var)) return 0;
    fc_z->bra = fc_z->c;
    {   int fc_ret = fc_r_R1(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    switch (fc_among_var) {
        case 1:
            {   int fc_ret = slice_from_s(fc_z, 1, s_6);
                if (fc_ret < 0) return fc_ret;
            }
            break;
        case 2:
            {   int fc_ret = slice_from_s(fc_z, 1, s_7);
                if (fc_ret < 0) return fc_ret;
            }
            break;
        case 3:
            {   int fc_ret = slice_del(fc_z);
                if (fc_ret < 0) return fc_ret;
            }
            break;
    }
    return 1;
}

static int fc_r_owned(struct SN_env * fc_z) {
    int fc_among_var;
    fc_z->ket = fc_z->c;
    if (fc_z->c - 1 <= fc_z->lb || (fc_z->p[fc_z->c - 1] != 105 && fc_z->p[fc_z->c - 1] != 169)) return 0;
    fc_among_var = find_among_b(fc_z, a_9, 12);
    if (!(fc_among_var)) return 0;
    fc_z->bra = fc_z->c;
    {   int fc_ret = fc_r_R1(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    switch (fc_among_var) {
        case 1:
            {   int fc_ret = slice_del(fc_z);
                if (fc_ret < 0) return fc_ret;
            }
            break;
        case 2:
            {   int fc_ret = slice_from_s(fc_z, 1, s_8);
                if (fc_ret < 0) return fc_ret;
            }
            break;
        case 3:
            {   int fc_ret = slice_from_s(fc_z, 1, s_9);
                if (fc_ret < 0) return fc_ret;
            }
            break;
    }
    return 1;
}

static int fc_r_sing_owner(struct SN_env * fc_z) {
    int fc_among_var;
    fc_z->ket = fc_z->c;
    fc_among_var = find_among_b(fc_z, a_10, 31);
    if (!(fc_among_var)) return 0;
    fc_z->bra = fc_z->c;
    {   int fc_ret = fc_r_R1(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    switch (fc_among_var) {
        case 1:
            {   int fc_ret = slice_del(fc_z);
                if (fc_ret < 0) return fc_ret;
            }
            break;
        case 2:
            {   int fc_ret = slice_from_s(fc_z, 1, s_10);
                if (fc_ret < 0) return fc_ret;
            }
            break;
        case 3:
            {   int fc_ret = slice_from_s(fc_z, 1, s_11);
                if (fc_ret < 0) return fc_ret;
            }
            break;
    }
    return 1;
}

static int fc_r_plur_owner(struct SN_env * fc_z) {
    int fc_among_var;
    fc_z->ket = fc_z->c;
    if (fc_z->c <= fc_z->lb || fc_z->p[fc_z->c - 1] >> 5 != 3 || !((10768 >> (fc_z->p[fc_z->c - 1] & 0x1f)) & 1)) return 0;
    fc_among_var = find_among_b(fc_z, a_11, 42);
    if (!(fc_among_var)) return 0;
    fc_z->bra = fc_z->c;
    {   int fc_ret = fc_r_R1(fc_z);
        if (fc_ret <= 0) return fc_ret;
    }
    switch (fc_among_var) {
        case 1:
            {   int fc_ret = slice_del(fc_z);
                if (fc_ret < 0) return fc_ret;
            }
            break;
        case 2:
            {   int fc_ret = slice_from_s(fc_z, 1, s_12);
                if (fc_ret < 0) return fc_ret;
            }
            break;
        case 3:
            {   int fc_ret = slice_from_s(fc_z, 1, s_13);
                if (fc_ret < 0) return fc_ret;
            }
            break;
    }
    return 1;
}

extern int hungarian_UTF_8_stem(struct SN_env * fc_z) {
    {   int fc_c1 = fc_z->c;
        {   int fc_ret = fc_r_mark_regions(fc_z);
            if (fc_ret < 0) return fc_ret;
        }
        fc_z->c = fc_c1;
    }
    fc_z->lb = fc_z->c; fc_z->c = fc_z->l;

    {   int fc_m2 = fc_z->l - fc_z->c; (void)fc_m2;
        {   int fc_ret = fc_r_instrum(fc_z);
            if (fc_ret < 0) return fc_ret;
        }
        fc_z->c = fc_z->l - fc_m2;
    }
    {   int fc_m3 = fc_z->l - fc_z->c; (void)fc_m3;
        {   int fc_ret = fc_r_case(fc_z);
            if (fc_ret < 0) return fc_ret;
        }
        fc_z->c = fc_z->l - fc_m3;
    }
    {   int fc_m4 = fc_z->l - fc_z->c; (void)fc_m4;
        {   int fc_ret = fc_r_case_special(fc_z);
            if (fc_ret < 0) return fc_ret;
        }
        fc_z->c = fc_z->l - fc_m4;
    }
    {   int fc_m5 = fc_z->l - fc_z->c; (void)fc_m5;
        {   int fc_ret = fc_r_case_other(fc_z);
            if (fc_ret < 0) return fc_ret;
        }
        fc_z->c = fc_z->l - fc_m5;
    }
    {   int fc_m6 = fc_z->l - fc_z->c; (void)fc_m6;
        {   int fc_ret = fc_r_factive(fc_z);
            if (fc_ret < 0) return fc_ret;
        }
        fc_z->c = fc_z->l - fc_m6;
    }
    {   int fc_m7 = fc_z->l - fc_z->c; (void)fc_m7;
        {   int fc_ret = fc_r_owned(fc_z);
            if (fc_ret < 0) return fc_ret;
        }
        fc_z->c = fc_z->l - fc_m7;
    }
    {   int fc_m8 = fc_z->l - fc_z->c; (void)fc_m8;
        {   int fc_ret = fc_r_sing_owner(fc_z);
            if (fc_ret < 0) return fc_ret;
        }
        fc_z->c = fc_z->l - fc_m8;
    }
    {   int fc_m9 = fc_z->l - fc_z->c; (void)fc_m9;
        {   int fc_ret = fc_r_plur_owner(fc_z);
            if (fc_ret < 0) return fc_ret;
        }
        fc_z->c = fc_z->l - fc_m9;
    }
    {   int fc_m10 = fc_z->l - fc_z->c; (void)fc_m10;
        {   int fc_ret = fc_r_plural(fc_z);
            if (fc_ret < 0) return fc_ret;
        }
        fc_z->c = fc_z->l - fc_m10;
    }
    fc_z->c = fc_z->lb;
    return 1;
}

extern struct SN_env * hungarian_UTF_8_create_env(void) { return SN_create_env(0, 1); }

extern void hungarian_UTF_8_close_env(struct SN_env * fc_z) { SN_close_env(fc_z, 0); }

